
// Some examples from the Tiny grammar

var examples = {};

examples["truckdrivers"] = parseGFTree("(phrase:Phr (sent:S (mkSubj:Subj (detCN:NP (all:D) (useN:CN (truckdriver:N)))) (useV:VP (sleep:V))))");

examples["drivers see"] = parseGFTree("(phrase:Phr (sent:S (mkSubj:Subj (detCN:NP (all:D) (useN:CN (truckdriver:N)))) (useV:VP (mkV1:V (see:V2)))))");

examples["big hit"] = parseGFTree("(phrase:Phr (que:S (mkSubj:Subj (detCN:NP (thePl:D) (adjCN:CN (useA:AP (big:A)) (useN:CN (house:N))))) (ppVP:VP (useV2:VP (hit:V2) (dobjPron:DObj (she:Pron))) (useP:PP (inn:P) (detCN:NP (thePl:D) (useN:CN (house:N)))))))");

examples["give him"] = parseGFTree("(phrase:Phr (sent:S (subjPron:Subj (she:Pron)) (useV3:VP (give:V3) (mkDObj:DObj (detCN:NP (a:D) (useN:CN (car:N)))) (iobjPron:IObj (he:Pron)))))");

examples["we sleep"] = parseGFTree("(phrase:Phr (sent:S (subjPron:Subj (we:Pron)) (ppVP:VP (useV:VP (sleep:V)) (useP:PP (inn:P) (detCN:NP (all:D) (useN:CN (car:N)))))))");

examples["he gives"] = parseGFTree("(phrase:Phr (sent:S (subjPron:Subj (he:Pron)) (useV2:VP (mkV2:V2 (give:V3)) (dobjPron:DObj (i:Pron)))))");

